package com.inossem.warehousestorage_inossem.bean.base;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/6/13.
 */

public class MainBean extends Bean {


    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"userName":"叶海亮","functionList":[{"index":"1"},{"index":"2"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * functionList : [{"index":"1"},{"index":"2"}]
         */

        private List<FunctionListBean> functionList;

        public List<FunctionListBean> getFunctionList() {
            return functionList;
        }

        public void setFunctionList(List<FunctionListBean> functionList) {
            this.functionList = functionList;
        }

        public static class FunctionListBean {
            /**
             * index : 1
             */

            private String id;

            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
